package simorg;

class SimString implements Comparable<SimString> {

	private final int m_id;

	private final String m_string;

	public SimString(final int a_id, final String a_string) {
		m_id = a_id;
		m_string = a_string;
	}

	public int compareTo(final SimString a_simString) {
		return getId() - a_simString.getId();
	}

	public int getId() {
		return m_id;
	}

	@Override
	public String toString() {
		return m_string;
	}
}